package com.qunar.dyds.monitor;

import com.qunar.base.meerkat.monitor.muti.QunarMutiLongMonitor;

public enum CompetitorMonitor {

    VOTE_SPAM("vote_spam", "投票超限"),
    REPORT_SPAM("report_spam", "投诉超限");

    private QunarMutiLongMonitor monitor = null;

    private CompetitorMonitor(String prefix, String description) {
        this.monitor = QunarMutiLongMonitor.buildWithPrefix(prefix, description, true);
    }

    public void increment(String key) {
        this.monitor.increment(key);
    }
}
